package bean;

import java.util.Date;

public class comment{	
    private String content;
    private Integer level;
    private Integer state;
    private Date createtime;
    private Date updatetime;
    private Integer a;
    private Integer b;
    private Integer c;
    private Integer id;
    private Integer userid;
    private Integer proid;
    private  product pinfo;
	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}
	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}
	public product getPinfo() {
		return pinfo;
	}
	public void setPinfo(product pinfo) {
		this.pinfo = pinfo;
	}
	/**
	 * @return the level
	 */
	public Integer getLevel() {
		return level;
	}
	/**
	 * @param level the level to set
	 */
	public void setLevel(Integer level) {
		this.level = level;
	}
	/**
	 * @return the state
	 */
	public Integer getState() {
		return state;
	}
	/**
	 * @param state the state to set
	 */
	public void setState(Integer state) {
		this.state = state;
	}
	/**
	 * @return the createtime
	 */
	public Date getCreatetime() {
		return createtime;
	}
	/**
	 * @param createtime the createtime to set
	 */
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	/**
	 * @return the updatetime
	 */
	public Date getUpdatetime() {
		return updatetime;
	}
	/**
	 * @param updatetime the updatetime to set
	 */
	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}
	/**
	 * @return the a
	 */
	public Integer getA() {
		return a;
	}
	/**
	 * @param a the a to set
	 */
	public void setA(Integer a) {
		this.a = a;
	}
	/**
	 * @return the b
	 */
	public Integer getB() {
		return b;
	}
	/**
	 * @param b the b to set
	 */
	public void setB(Integer b) {
		this.b = b;
	}
	/**
	 * @return the c
	 */
	public Integer getC() {
		return c;
	}
	/**
	 * @param c the c to set
	 */
	public void setC(Integer c) {
		this.c = c;
	}
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @return the userid
	 */
	public Integer getUserid() {
		return userid;
	}
	/**
	 * @param userid the userid to set
	 */
	public void setUserid(Integer userid) {
		this.userid = userid;
	}
	/**
	 * @return the proid
	 */
	public Integer getProid() {
		return proid;
	}
	/**
	 * @param proid the proid to set
	 */
	public void setProid(Integer proid) {
		this.proid = proid;
	}
//	@Override
//	public String toString() {
//		return "comment [content=" + content + ", level=" + level + ", state=" + state + ", createtime=" + createtime
//				+ ", updatetime=" + updatetime + ", a=" + a + ", b=" + b + ", c=" + c + ", id=" + id + ", userid="
//				+ userid + ", proid=" + proid + "]";
//	}
	
	
	
	public comment(String content, Integer level, Integer state, Date createtime, Date updatetime, Integer a, Integer b,
			Integer c, Integer id, Integer userid, Integer proid) {
		super();
		this.content = content;
		this.level = level;
		this.state = state;
		this.createtime = createtime;
		this.updatetime = updatetime;
		this.a = a;
		this.b = b;
		this.c = c;
		this.id = id;
		this.userid = userid;
		this.proid = proid;
	}
	@Override
	public String toString() {
		return "comment [content=" + content + ", level=" + level + ", state=" + state + ", createtime=" + createtime
				+ ", updatetime=" + updatetime + ", a=" + a + ", b=" + b + ", c=" + c + ", id=" + id + ", userid="
				+ userid + ", proid=" + proid + ", pinfo=" + pinfo + "]";
	}
	public comment(String content, Integer level, Integer state, Date createtime, Date updatetime, Integer userid, Integer proid) {
		super();
		this.content = content;
		this.level = level;
		this.state = state;
		this.createtime = createtime;
		this.updatetime = updatetime;
	
		
		this.userid = userid;
		this.proid = proid;
	}
	public comment() {
		super();
	}
	public comment(String content, Integer level, Integer state, Date createtime, Date updatetime, Integer id, Integer userid, Integer proid) {
		super();
		this.content = content;
		this.level = level;
		this.state = state;
		this.createtime = createtime;
		this.updatetime = updatetime;		
		this.id = id;
		this.userid = userid;
		this.proid = proid;
	}
	public comment(String content, Integer level, Integer state, Date createtime, Date updatetime, Integer id,
			Integer userid, Integer proid, product pinfo) {
		super();
		this.content = content;
		this.level = level;
		this.state = state;
		this.createtime = createtime;
		this.updatetime = updatetime;
		this.id = id;
		this.userid = userid;
		this.proid = proid;
		this.pinfo = pinfo;
	}

	
	
    
}